package com.tz.liveplayermodule.bean;

import java.util.ArrayList;
import java.util.List;

public class PlayBackBean {

    /**
     * code : 200
     * result : {"list":[{"id":"61","title":"小程序使用简介","duration":"615","video_url":"http://video2.xiaozo.cn/sv/3236618f-1670b7c0134/3236618f-1670b7c0134.mp4","free":"0","live_id":"208","percent":0,"done":0,"time":"10:15","last_play":0}],"empty":0}
     * msg : 获取数据成功
     */

    private String code;
    private ResultBean result;
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * list : [{"id":"61","title":"小程序使用简介","duration":"615","video_url":"http://video2.xiaozo.cn/sv/3236618f-1670b7c0134/3236618f-1670b7c0134.mp4","free":"0","live_id":"208","percent":0,"done":0,"time":"10:15","last_play":0}]
         * empty : 0
         */

        private int empty;
        private List<PlayBackListBean> list;

        public int getEmpty() {
            return empty;
        }

        public void setEmpty(int empty) {
            this.empty = empty;
        }

        public List<PlayBackListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<PlayBackListBean> list) {
            this.list = list;
        }
    }
}
